package rnavigator.model;

/**
 * @author Elias la Cour
 */
public class Coord2D {
    private int x, y;

    public Coord2D() {
    }
    
    /**
     * @param x x-coord
     * @param y y-coord
     */
    public Coord2D(int x, int y) {
        this.x = x;
        this.y = y;
    }

    /**
     * @return x coordinate
     */
    public int getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(int x) {
        this.x = x;
    }

    /**
     * @return y coordinate
     */
    public int getY() {
        return y;
    }

    /**
     * @param y the y to set
     */
    public void setY(int y) {
        this.y = y;
    }
    /*
     * @param x2 x-coord for the other coordinate
     * @param y2 y-coord for the other coordinate
     * @return returns type double
     */
}
